//
//  UILabel+LabCategory.m
//  DJYJ
//
//  Created by apple on 2018/10/31.
//  Copyright © 2018年 CHF. All rights reserved.
//

#import "UILabel+LabCategory.h"

@implementation UILabel (LabCategory)

+ (UILabel *)labelWithContent:(NSString *)content superView:(UIView *)superView textColor:(UIColor *)textColor font:(UIFont *)font textAlignment:(NSTextAlignment)textAlignment
{
    UILabel * label = [[UILabel alloc] init];
    [superView addSubview:label];
    label.text = content;
    label.textColor = textColor;
    label.font = font;
    label.textAlignment = textAlignment;
    return label;
}

@end
